package uscdb.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import uscdb.dao.LogicDaoI;
import uscdb.model.Tlogic;
import uscdb.pageModel.Json;
import uscdb.service.RepairServiceI;

@Service
public class RepairServiceImpl implements RepairServiceI {

	@Autowired
	private LogicDaoI logicDao;
	
	/**
	 * 功能：因为第一版并没有做版本功能，所以原始数据缺失与版本数据的关联，需要关联起来
	 */
	@Override
	public Json repairLogicLinkToVersion() {
		Json json = new Json();
//		List<Tlogic> tlogicList = logicDao.find("from Tlogic t");
		// TODO
		return json;

	}

}
